home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sun Solutions 2000 #2
/
Sun Solutions CD (Volume 2 2000)(Special Focus - Java Technologies)(Disc 1).ISO
/
products
/
Software
/
BostonBusinessComputing
/
bbc
/
vclps
< prev
next >
Wrap
Text File
|
2000-02-11
|
729b
|
27 lines
: vclps - /bin/sh wrapper for VCL show commands calling ps
:
: Edit History
: $Log: vclps.prod,v $
: Revision 1.3 1995/08/14 14:49:08 cgf
: Strange problems caused by STDERR redirection on SCO.
:
: Revision 1.2 1995/08/14 14:36:39 cgf
: Need ';;' even after last case on some systems like SCO.
:
: Revision 1.1 1995/08/14 14:24:22 cgf
: Some BSD systems reject hyphens before ps args.
:
: Revision 1.0 1991/02/08 15:46:25 cpl
: Initial source code revision.
case $1 in
SYSTEM)
(exec ps aux 2>/dev/null) || ps -ef ||\
echo "%VCL-W-NO_UNIX, not available under this version of UNIX"
;;
STATUS)
(exec ps lx 2>/dev/null) || ps -f ||\
echo "%VCL-W-NO_UNIX, not available under this version of UNIX"
;;
esac